<?php

/**
 * Botenmarkt Front-end
 * 
 * Domain Objects
 *
 * @category    botenmarkt_front
 * @package     library
 * @subpackage  domainObjects
 * 
 * @author      valerii lazarevych <valeriy.fremar@gmail.com>
 * @copyright   Copyright(c) Fremar ltd.
 * 
 * @license     default
 * @version     2:53:13 PM | Feb 8, 2012
 */

/**
 * Linksitems_domainObject Class
 * 
 * Represent link with operation on it.
 */
class Linksitems_domainObject       extends     Link_domainObject
{   
    /**
     * Link category obj
     * 
     * @var Links_domainObject
     */
    public  $linkCategory   =       null;
    
    /**
     * Link column position
     * 
     * @var int
     */
    public  $position       =       null;
    
    /**
     * Unix time stamp of last link url broken checking
     * 
     * @var int
     */
    public  $last_check     =       null;
    
    /**
     * Email address bind to link
     * 
     * @var string
     */
    public  $email          =       null;
            
    
    /**
     * Get link category name
     * 
     * @return string
     */
    public function linkCategory()
    {
        return $this->linkCategory;
    }
    
    /**
     * Get link column position number
     * 
     * @return int
     */
    public function linkPosition()
    {
        return $this->position;
    }        
    
    /**
     * Get last time link broken checking
     * 
     * @return int
     */
    public function linkLastCheck()
    {
        return $this->last_check;
    }
    
    /**
     * Get email bind to this link
     * 
     * @return string
     */
    public function linkEmail()
    {
        return $this->email;
    }
}

